/***********************************************
 This file is part of redia-bapps-main-ios.
 
 Copyright (c) 2015 Redia A/S
 
 Redia-bapps-main-ios is free software: you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation, either version 3 of the License, or
 (at your option) any later version.
 
 Redia-bapps-main-ios is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License
 along with redia-bapps-main-ios.  If not, see <http://www.gnu.org/licenses/>.
 
 *********************************************** */

//
//  BAReviewsCell.m
//  redia-bapps-ios
//
//  Created by Mads Darø Kristensen on 10/23/13.
//  Copyright (c) 2013 redia. All rights reserved.
//

#import "BAReviewsCell.h"
#import "BAUtils.h"
#import "UIImage+MultiplyColor.h"
#import "BALibrarySettings.h"

@implementation BAReviewsCell

- (void)awakeFromNib
{
    [super awakeFromNib];
    
    /* was:
    if (RD_IS_IPAD) {
        self.sourceLabel.font = BA_FONT_MEDIUM(16);
        self.contentTextView.font = BA_FONT_REGULAR(14); //NB: also set in super conrtoller because of strange bug
    } else {*/

    BA_LABEL_SET_FONT_REGULAR(self.sourceLabel)
    BA_LABEL_SET_FONT_LIGHT(self.contentTextView)

    //}
    /* dep (was uitextview)
    if ([[BAUtils instance] iOSMajorVersion] == 6) {
        self.contentTextView.contentInset = UIEdgeInsetsMake(-4, -8, 0, 0);
    }
    else {
        self.contentTextView.contentInset = UIEdgeInsetsMake(-4, -4, 0, 0);
    }
     */
    self.forwardArrowImageView.image = [UIImage imageNamed:@"forwardbutton-white" multiplyWithColor:[[BALibrarySettings instance] getCustomerColorNormal]];
    self.selectionStyle = UITableViewCellSelectionStyleGray;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
